<template>
  <ItemWrap title="采购上架进行中">
    <div class="w-full h-full">
      <el-table :data="tableData" style="width: 100%">
        <el-table-column prop="date" label="补货单号" width="180" />
        <el-table-column prop="name" label="国内/国际仓" width="180" />
        <el-table-column prop="address" label="总数量" width="120" />
        <el-table-column prop="date" label="已补数量" width="180" />
        <el-table-column prop="name" label="未补数量" width="180" />
        <el-table-column prop="address" label="补货人" width="120" />
      </el-table>
    </div>
  </ItemWrap>
</template>

<script setup>
import { ref } from "vue"; // 确保导入了 ref
import ItemWrap from "./item-wrap/item-wrap.vue";

// 修正数据属性名
const tableData = ref([
  {
    date: "2016-05-03",
    name: "Tom",
    address: "No. 189, Grove St, Los Angeles",
  },
  {
    date: "2016-05-02",
    name: "Tom",
    address: "No. 189, Grove St, Los Angeles",
  },
  {
    date: "2016-05-04",
    name: "Tom",
    address: "No. 189, Grove St, Los Angeles",
  },
  {
    date: "2016-05-01",
    name: "Tom",
    address: "No. 189, Grove St, Los Angeles",
  },
]);
</script>

<style lang="scss" scoped></style>
